<?php
defined('SYSPATH') or die('No direct script access.');

/**
 * 事件配置文件
 */
return array
(
    //订单确认
    'order_confirmed' => array(
        'Listener_Finance_Order_Confirm' => array('Listener_Finance_Order', 'handle'),
    ),
    //订单创建
    'order_created' => array(
        'Listener_Finance_Order_Creat' => array('Listener_Finance_Order', 'handle'),
    ),
    //订单支付完成
    'order_payed' => array(
        'Listener_Finance_Order_Payed' => array('Listener_Finance_Order_Payed', 'handle'),
        'Listener_Finance_Order_Payed_Platform_Income' => array('Listener_Finance_Order', 'handle'),
    ),
    //订单完成
    'order_finished' => array(
        'Listener_Finance_Order_Finished' => array('Listener_Finance_Order_Finished', 'handle'),
        'Listener_Finance_Order_Finished_Platform_Income' => array('Listener_Finance_Order', 'handle'),
    ),

    //发起提现
    'withdraw_create' => array(
        'Listener_Finance_Withdraw_Create' => array('Listener_Finance_Withdraw_Create', 'handle'),
    ),

    //拒绝提现
    'withdraw_fail' => array(
        'Listener_Finance_Withdraw_Fail' => array('Listener_Finance_Withdraw_Fail', 'handle'),
    ),
    //同意提现
    'withdraw_success' => array(
        'Listener_Finance_Withdraw_Success' => array('Listener_Finance_Withdraw_Success', 'handle'),
    )

);
